package com.tsd.jxc.fin.service;

import com.tsd.core.vo.PageBean;
import com.tsd.jxc.fin.entity.JxcFinancePaymentRequestDetail;
import com.tsd.jxc.fin.entity.JxcFinancePaymentRequestDetailExt;
import com.tsd.jxc.fin.entity.JxcFinancePaymentRequestExt;
import com.tsd.system.entity.SysUser;

import java.util.List;
import java.util.Map;

/**
 * 描述：JxcFinancePaymentRequestDetail服务实现层接口
 *
 * @author Hillpool
 * @date 2023/02/09 18:00:21
 */
public interface JxcFinancePaymentRequestDetailService {

    /**
     * 描述：根据id获取JxcFinancePaymentRequestDetail
     *
     * @param id
     */
    JxcFinancePaymentRequestDetail getJxcFinancePaymentRequestDetailById(Long id) throws Exception;

    /**
     * 描述：根据sid获取JxcFinancePaymentRequestDetail
     *
     * @param sid
     */
    JxcFinancePaymentRequestDetailExt queryBySid(String sid) throws Exception;

    /**
     * 描述：根据sid列表删除JxcFinancePaymentRequestDetail
     *
     * @param list
     */
    void deleteJxcFinancePaymentRequestDetails(List<String> list, SysUser opUser) throws Exception;

    /**
     * 描述：保存或更新JxcFinancePaymentRequestDetail
     *
     * @param record
     * @param opUser
     */
    void saveJxcFinancePaymentRequestDetail(JxcFinancePaymentRequestDetailExt record, SysUser opUser) throws Exception;

    void saveJxcFinancePaymentRequestDetail(JxcFinancePaymentRequestExt record, SysUser opUser) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinancePaymentRequestDetail
     *
     * @param params
     * @param page
     */
    List<JxcFinancePaymentRequestDetailExt> findJxcFinancePaymentRequestDetails(Map<String, Object> params, PageBean page) throws Exception;

    /**
     * 描述：根据params分页查询JxcFinancePaymentRequestDetail
     *
     * @param params
     */
    List<JxcFinancePaymentRequestDetailExt> findJxcFinancePaymentRequestDetails(Map<String, Object> params) throws Exception;

    List<JxcFinancePaymentRequestDetailExt> queryValidByRequestList(List<String> requestList);
}